/*
 * Copyright (c) 2022 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
export interface CityInterface{
  name:string
  city?:CityInterface[]
}

export const listData:CityInterface[] = [
  { name: 'A', city: [{ name: '安徽' }] },
  { name: 'B', city: [{ name: '北京' }] },
  { name: 'C', city: [{ name: '重庆' }] },
  { name: 'F', city: [{ name: '福建' }] },
  { name: 'G', city: [{ name: '甘肃' }, { name: '广东' }, { name: '广西' }, { name: '贵州' }] },
  { name: 'H', city: [{ name: '海南' }, { name: '河北' }, { name: '河南' }, { name: '黑龙江' }, { name: '湖北' }, { name: '湖南' }] },
  { name: 'J', city: [{ name: '吉林' }, { name: '江苏' }, { name: '江西' }] },
  { name: 'L', city: [{ name: '辽宁' }] },
  { name: 'N', city: [{ name: '内蒙古' }, { name: '宁夏' }] },
  { name: 'Q', city: [{ name: '青海' }] },
  { name: 'S', city: [{ name: '山东' }, { name: '山西' }, { name: '陕西' }, { name: '上海' }, { name: '四川' }] },
  { name: 'T', city: [{ name: '天津' }] },
  { name: 'X', city: [{ name: '西藏' }, { name: '新疆' }] },
  { name: 'Y', city: [{ name: '云南' }] },
  { name: 'Z', city: [{ name: '浙江' }] }
]

export const heatCity:CityInterface[] = [
  { name: '北京' },
  { name: '上海' },
  { name: '广州' },
  { name: '深圳' },
  { name: '杭州' },
  { name: '南京' },
  { name: '苏州' },
  { name: '天津' },
  { name: '武汉' },
  { name: '长沙' },
  { name: '重庆' },
  { name: '成都' }
]

